package edu.software.PBL_Management_System.service;

import org.springframework.stereotype.Service;

@Service
public interface EmailService {
    
    /**
     * 发送验证码邮件
     * @param to 收件人邮箱
     * @param code 验证码
     * @return 是否发送成功
     */
    boolean sendVerificationCode(String to, String code);
}